package routes

import (
	"gitee.com/pangxianfei/frame/registered"
	"gitee.com/pangxianfei/frame/route"

	"tmaic/login/http/controllers"
)

type authGroup struct {
	LoginController controllers.Login
}

func (ag *authGroup) Group(group route.Grouper) {
	group.POST("/login", Registered.Route(ag.LoginController.PostLogin))
}
